package com.gcxy.entity;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import java.time.LocalDateTime;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 学生老师关联表:表示从第几周开始某学生的指导教师是谁
 * </p>
 *
 * @author Huang先森
 * @since 2024-07-22
 */
@Getter
@Setter
@TableName("student_teacher")
@ApiModel(value = "StudentTeacher对象", description = "学生老师关联表:表示从第几周开始某学生的指导教师是谁")
public class StudentTeacher implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("关联id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("名誉老师ID")
    private Integer honoraryTeacherId;

    @ApiModelProperty("实际老师ID")
    private Integer practicalTeacherId;

    @ApiModelProperty("学生ID")
    private Integer studentId;

    @ApiModelProperty("学期id")
    private Integer semesterId;

    @ApiModelProperty("指导时间")
    private LocalDateTime guidanceTime;

    @ApiModelProperty("修改时间")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;

    @ApiModelProperty("创建时间")
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;

    @ApiModelProperty("更新者")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private String updater;


}
